From 16c3f7cda99bd626b6ec654bb95adb8dae0f38b4 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 19 Jul 2006 23:07:54 +0000 Subject: [PATCH] Turn off millions of 'ignore warning' from mingw-gcc. This pragma is only usefull for MSVC builds. (see http://www.mobydisk.com/softdev/techinfo/cpptips.html) git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2247 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index 30487f504..e6c71491e 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -74,7 +74,9 @@ /* Turn off numeric conversion warning */ #if __WIN32__ -# pragma warning(disable:4244) +# if _MSC_VER +# pragma warning(disable:4244) +# endif # define _CRT_SECURE_NO_DEPRECATE 1 #endif -- 2.30.2